package com.example.myapplication;

/**
 * 禁用话题模型
 */
public class BlockedTopic {
    private String id; // 唯一标识
    private String topic; // 话题内容
    private boolean enabled; // 是否启用

    public BlockedTopic() {
        this.id = String.valueOf(System.currentTimeMillis());
        this.enabled = true;
    }

    public BlockedTopic(String id, String topic, boolean enabled) {
        this.id = id;
        this.topic = topic;
        this.enabled = enabled;
    }

    // Getters and Setters
    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getTopic() {
        return topic;
    }

    public void setTopic(String topic) {
        this.topic = topic;
    }

    public boolean isEnabled() {
        return enabled;
    }

    public void setEnabled(boolean enabled) {
        this.enabled = enabled;
    }
}

